from django.conf.urls import url

from oauth import views

urlpatterns = [
    url(r'^qq/authorization/$', views.QQAuthURLView.as_view()),
    url(r'qq/user/?code=xxx',views.QQAuthUserView.as_view()),
    url(r'qq/user/',views.QQAuthUserView.as_view()),
    url(r'^sina/authorization/$',views.SINAAuthURLView.as_view()),
    # url(r'^sina/user/?code=xxx', views.SINAAuthUserView.as_view()),
    url(r'^sina/user/$', views.SINAAuthUserView.as_view()),
]